class WoreportworkTaskListItemModel {
  int? tenantId;
  bool? islock;
  String? scraftname;
  String? sremark;
  int? loperateid;
  double? ioperatequantity;
  int? iwoflowcradsequence;
  String? smaterialname;
  String? sworkstationcode;
  bool? buse;
  String? stationname;
  String? scraftcode;
  String? smaterialcode;
  String? sprocesscode;
  int? dbilldate;
  String? swocode;
  String? sstate;
  int? iordersequence;
  int? step;
  int? isstop;
  int? id;

  WoreportworkTaskListItemModel({
    this.tenantId,
    this.islock,
    this.scraftname,
    this.sremark,
    this.loperateid,
    this.ioperatequantity,
    this.iwoflowcradsequence,
    this.smaterialname,
    this.sworkstationcode,
    this.buse,
    this.stationname,
    this.scraftcode,
    this.smaterialcode,
    this.sprocesscode,
    this.dbilldate,
    this.swocode,
    this.sstate,
    this.iordersequence,
    this.step,
    this.isstop,
    this.id,
  });

  factory WoreportworkTaskListItemModel.fromJson(Map<String, dynamic> json) {
    return WoreportworkTaskListItemModel(
      tenantId: json['tenant_id'] as int?,
      islock: json['islock'] as bool?,
      scraftname: json['scraftname'] as String?,
      sremark: json['sremark'] as String?,
      loperateid: json['loperateid'] as int?,
      ioperatequantity: json['ioperatequantity'] as double?,
      iwoflowcradsequence: json['iwoflowcradsequence'] as int?,
      smaterialname: json['smaterialname'] as String?,
      sworkstationcode: json['sworkstationcode'] as String?,
      buse: json['buse'] as bool?,
      stationname: json['stationname'] as String?,
      scraftcode: json['scraftcode'] as String?,
      smaterialcode: json['smaterialcode'] as String?,
      sprocesscode: json['sprocesscode'] as String?,
      dbilldate: json['dbilldate'] as int?,
      swocode: json['swocode'] as String?,
      sstate: json['sstate'] as String?,
      iordersequence: json['iordersequence'] as int?,
      step: json['step'] as int?,
      isstop: json['isstop'] as int?,
      id: json['id'] as int?,
    );
  }

  Map<String, dynamic> toJson() => {
        'tenant_id': tenantId,
        'islock': islock,
        'scraftname': scraftname,
        'sremark': sremark,
        'loperateid': loperateid,
        'ioperatequantity': ioperatequantity,
        'iwoflowcradsequence': iwoflowcradsequence,
        'smaterialname': smaterialname,
        'sworkstationcode': sworkstationcode,
        'buse': buse,
        'stationname': stationname,
        'scraftcode': scraftcode,
        'smaterialcode': smaterialcode,
        'sprocesscode': sprocesscode,
        'dbilldate': dbilldate,
        'swocode': swocode,
        'sstate': sstate,
        'iordersequence': iordersequence,
        'step': step,
        'isstop': isstop,
        'id': id,
      };
}
